    <div class="content">
        <div id="contentop">
            <div class="logohinhtop"></div>
            <div class="khungchutop">
           	    <div id="chu"><a href = 'index.php'>Trang chủ </a><img src="images/arrow.png" /> Sản phẩm tiêu biểu</div>
            </div>   
        </div>
        <?php
            $selectdb = "SELECT h.logo_hang,s.tensp,s.id,s.hinhanh,s.dongia,s.baohanh FROM sanpham AS s INNER JOIN hangsanxuat AS h ON (s.mahangsx_id = h.id) and s.sp_hienthi = 1 ORDER BY s.id DESC LIMIT 9";
            $querysl = mysql_query($selectdb) or die("không thực hiện được".mysql_error());
            
            while($row = mysql_fetch_array($querysl)){
                $idsp = $row['id'];
                $logohang = $row['logo_hang'];
                
                $tensp = $row['tensp'];
                
                $hinhanhsp = $row['hinhanh'];
                
                $dongiasp = $row['dongia'];
                
                $baohanh = $row['baohanh'];
                
                
        echo "<div class=\"product\">\n"; 
        echo "    	\n"; 
        echo "     <div class =\"supplier\">\n"; 
        echo "        <div class=\"suplierimg\"> \n"; 
        echo "            <img style ='width: 91px; height: 22px;' src=\"$logohang\"/>\n"; 
        echo "        </div>\n"; 
        echo "        <div class=\"#\">\n"; 
        echo "        <img class=\"hotnew\" src=\"".base_url_imgages_hangsanxuat."hot.gif \" />\n"; 
        echo "        <img class=\"hotnew\" src=\"".base_url_imgages_hangsanxuat."new.gif \" />\n"; 
        echo "            \n"; 
        echo "        </div>\n"; 
        echo "     </div>       \n"; 
        echo "     <div class=\"khungtieudesp\">\n"; 
        echo "        <div class=\"tieudesp\">$tensp</div>\n"; 
        echo "     </div>\n"; 
        echo "     <div class=\"khungsp\" align=\"center\">\n"; 
        echo "        <div class=\"hinhsp\"><img style ='width : 120px; height : 100px;' src=\"$hinhanhsp\"/></div>\n"; 
        echo "     </div>\n"; 
        echo "     <div class= \"khungpri\" align=\"center\">\n"; 
        echo "    	<span class=\"spanpri\"><div class=\"noidungpri\"> Giá :</div> <div class=\"fontpri\"> ".convert_money($dongiasp)."</div> <div class=\"noidungpri\">VNĐ</div></span>\n"; 
        echo "     </div>\n"; 
        echo "     <div class=\"baohanh\">\n"; 
        echo "        <div class=\"fontbaohanh\">Bảo hành : $baohanh tháng</div>\n"; 
        echo "     </div>\n"; 
        echo "     <div class='chitietsp'><a href = 'chitietsanpham.php?chitietspid=".$idsp."'><img class='chitietimg' src='images/chitiet.jpg' /></a></div>"; 
        echo "     </div>\n";      
                
                
            }
        ?>
    
     
         
    </div>